package com.xb.loan.cashier.biz.dao;


import com.xb.loan.cashier.biz.dao.bean.CashierPayChannel;
import com.xb.loan.util.mybatis.MyBatisRepository;

import java.util.List;
import java.util.Map;

@MyBatisRepository
public interface CashierPayChannelDao {
	
	int deleteByPrimaryKey(String payChannelId);

	int insert(CashierPayChannel record);

	int insertSelective(CashierPayChannel record);

	CashierPayChannel selectByPrimaryKey(String payChannelId);

	int updateByPrimaryKeySelective(CashierPayChannel record);

	int updateByPrimaryKey(CashierPayChannel record);
	
	CashierPayChannel queryByChannelId(String channelId);
	
	CashierPayChannel queryByPayChannelName(String payChannelName);
	
    List<CashierPayChannel> selectByPayChannelType(Map<String, Object> params);
    
    List<CashierPayChannel> selectByPayType(Map<String, Object> params);

    List<CashierPayChannel> selectAll();
    
    List<Map<String, Object>> queryPayChannelList();
    
    List<CashierPayChannel> queryPayGateWayById(String platId);
}